//
//  Constants.h
//  ubereasycontrol
//
//  Created by devpltc on 15/9/26.
//  Copyright © 2015年 devpltc. All rights reserved.
//

#import <Foundation/Foundation.h>

/*
 * Http请求数据协议头
 */
extern NSString * const HTTPHEAD;
extern NSString * const CLOUDPATH;
extern NSString * const APPPATH;
extern NSString * const LISTROOM;
extern NSString * const LISTROOMRCU;
extern NSString * const LISTLIGHTMODE;
extern NSString * const UPDATERCUSTATU;
extern NSString * const LISTDEVICESTATU;
extern NSString * const LISTTVSTATION;
extern NSString * const LISTLIVESHOW;
extern NSString * const LISTMOVIE;
extern NSString * const GETIMAGES;
extern NSString * const GETAIRCONFIG;
extern NSString * const GETWEATHERBY;
extern NSString * const GETUSERINFO;
extern NSString * const ID;
extern NSString * const ROOM;
extern NSString * const ROOMNUM;
extern NSString * const TRANIDBIG;
extern NSString * const TRANID;
extern NSString * const SERVICEIP;
extern NSString * const CLOUDIP;
extern NSString * const PORT;
extern NSString * const TYPE;
extern NSString * const DATA;
extern NSString * const ADDRESULT;
extern NSString * const HOTELINFO;
extern NSString * const CHECKINFO;
extern NSString * const IPHONE;
extern NSString * const CITY;
extern NSString * const NSZERO;



/*
 控制系列
 movie-13  播放电影，13指代电影id
 control-0 播放暂停
 control-1 电影快进
 control-2 电影倒退
 back-0    电影返回
 sound-+   增加音量
 sound--   减少音量
 sound-0   静音
 tv-1      电视跳台，1指代对应电视台号
 */
extern NSString * const CONTROLTV;
extern NSString * const CONTROLMOVIEDATA;
extern NSString * const CONTROLTVDATA;
extern NSString * const CONTROLACTION;
extern NSString * const CONTROLSOUND;
extern NSString * const CONTROLMOVIEBACK;
extern NSString * const CONTROLTVBACK;

/**
 * 入住信息
 **/
//{'name':'张凤通','checkintime':'1443089317000','phone':'17731739620','roomtype':'标准间','cost':'0','depostit':'0','charge':'0'}
extern NSString * const CHECKINNAME;
extern NSString * const CHECKINTIME;
extern NSString * const CHECKINPHONENUM;
extern NSString * const CHECKINROOMTYPE;
extern NSString * const CHECKINCOST;
extern NSString * const CHECKINDEPOSTIT;
extern NSString * const CHECKINCHARGE;

/*
 * 通讯端口
 */
extern int HTTPPORT ;
extern int WEBSOCKETPORT;
/*
 * 请求类型
 */
typedef NS_ENUM(NSInteger, HTTPTYPE){
  connect2Local,
  listRoomRcu,
  listLightMode,
  controlLight,
  controlCurtain,
  listDeviceStatu,
  listAirMode,
  controlAirData,
  getAirData,
  getWeatherByPhone,
  getCheckInfo,
  getWeatherByPhoneCheckIn,
  getWeatherByPhoneResident,
  getMoveData,
  getTvData,
  getTvNowData,
  getImageData,
  controlTvData,
  getIMData,
  getIMServer,
  getIMImage,
  getIM
};

/*
 * 设备类型
 */
typedef NS_ENUM( NSInteger,DEVICETYPE){
  LIGHT ,
  CURTAIN,
  AIR,
};

extern int LIGHTTYPE;
extern int WEATHERTYPE;
extern int CURTAINTYPE;
extern int AIRTYPE;



/*
 * 提示信息
 */
extern NSString * const CONNECTERROR;
extern NSString * const NOTOPENFUNCTION;
extern NSString * const NOTBILDERROOM;

/*
 * http通讯添加手机设备类型
 */
extern NSString * const  PMANUFACTUER;
extern NSString * const  PMODEL;
extern NSString * const  PID;

extern NSString * const DEVICEIPHONE;

/**
 *  IM
 */
extern NSString * const IMG;
extern NSString * const GETIMSERVER;
extern NSString * const GETIM;
extern NSString * const GETIMSERVERIP;

@interface Constants : NSObject


@end
